package com.bayair.doctor.ui.main;

import com.bayair.doctor.data.bean.LoginResp;
import com.bayair.doctor.data.bean.Token;
import com.bayair.doctor.data.bean.VerityResp;
import com.bayair.doctor.mvp.IView;
import com.bayair.doctor.net.BaseEntity;

import io.reactivex.Observable;

/**
 * Author: tuyrt7
 * Date: 2019/9/29 9:55
 * Description:
 */
public interface MainContract {

    interface Model {
        Observable<BaseEntity<Token>> flushToken();
    }

    interface View extends IView {
        void showLoadToken();
        void complete();
    }

    interface Presenter {
        void flushToken();
    }
}
